﻿<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html  charset=utf-8" />
        <link rel="stylesheet" href="MainWindow.css">
    </head>
    <body>
        <div id="IDC_MAIN_WINDOW" class="MainWindow">
            <!-- 按钮 -->
            <a id="IDC_BUTTON_START" class="IDC_BUTTON_START ToolbarButton"></a>
            <a id="IDC_BUTTON_PAUSE" class="IDC_BUTTON_PAUSE ToolbarButton"></a>
            <a id="IDC_BUTTON_MUSIC" class="IDC_BUTTON_MUSIC ToolbarButton"></a>
            <a id="IDC_BUTTON_HELP" class="IDC_BUTTON_HELP ToolbarButton"></a>

            <!-- 游戏区域 -->
            <canvas id="IDC_GAME_BOARD" class="IDC_GAME_BOARD GameBoard" width="320" height="352"></canvas>

            <!-- 状态栏 -->
            <label id="IDC_LABEL_USERNAME" class="IDC_LABEL_USERNAME Label"></label>
            <label id="IDC_LABEL_DIFFICULTY" class="IDC_LABEL_DIFFICULTY Label"></label>
            <label id="IDC_LABEL_SCORE" class="IDC_LABEL_SCORE Label"></label>
        </div>

        <!-- 对话框背景（遮罩层） -->
        <div id="IDC_DIALOG_BACKGROUND" class="IDC_DIALOG_BACKGROUND Dialog"></div>

        <!--音乐-->
        <audio id="IDC_MUSIC" src="res/music.wav" controls="controls" loop="loop" hidden="hidden"></audio>

        <!--脚本-->
        <script type="text/javascript" src="Util.js"></script>
        <script type="text/javascript" src="Language.js"></script>
        <script type="text/javascript" src="Const.js"></script>
        <script type="text/javascript" src="GameBoard.js"></script>
        <script type="text/javascript" src="SnakeBody.js"></script>
        <script type="text/javascript" src="Snake.js"></script>
        <script type="text/javascript" src="Game.js"></script>
        <script type="text/javascript" src="MainWindow.js"></script>
        <script type="text/javascript">
            new MainWindow() 
        </script>
    </body>
</html>